// pages/pay_success/pay_success.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
   
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
      const that=this;
    let amount = options.orderMoney
    that.setData({
      amount: amount
    })
  },

  checkOrder: function(){
/*     wx.navigateTo({
      url: '/pages/my_order/my_order',
    }) */
    wx.reLaunch({
      url: '/pages/my_order/my_order?msg=cancel'
    })


  },
  goIndex: function(){
    wx.switchTab({
      url: '/pages/list/list',
    })
  }
})